import logging
def rz_log():
    logging.basicConfig(filename="weidudianshanglog521.txt",filemode="w",
                        level=logging.DEBUG,format="%(funcName)s-%(filename)s-%(message)s")